package com.hh.common.model.integral;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_user_point_record")
public class UserPointRecord implements Serializable {
    private static final long serialVersionUID=1L;


    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    private Integer uid;

    private Integer turnover;

    private Integer pm;

    private Integer transactionType;

    private Integer balance;

    private Integer orderType;

    private String orderId;
    //创建时间
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
